package com.sp.scmdb.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.annotations.Type;
import org.joda.time.DateTime;
import com.sp.scmdb.common.DomainObject;

@Entity
@Table(name = "OBJ_ORIGINAL")
public class Original extends DomainObject {

	@Column(name="powerFlag")
	private String powerFlag;

	@Column(name="labelType")
	private String labelType;

	@Column(name="lrmID")
	private int lrmID;

	@Column(name="labelID")
	private int labelID;

	@Column(name="powerAlarm")
	private int powerAlarm;

	@Column(name="callAlarm")
	private int callAlarm;

	@Column(name="Data_Info")
	private String dataInfo;
	
	@Column(name="Data_Time")
	@Type(type = "org.joda.time.contrib.hibernate.PersistentDateTime")
	private DateTime dataTime;

	public String getPowerFlag() {
		return powerFlag;
	}

	public void setPowerFlag(String powerFlag) {
		this.powerFlag = powerFlag;
	}

	public String getLabelType() {
		return labelType;
	}

	public void setLabelType(String labelType) {
		this.labelType = labelType;
	}

	public String getDataInfo() {
		return dataInfo;
	}

	public void setDataInfo(String dataInfo) {
		this.dataInfo = dataInfo;
	}

	public DateTime getDataTime() {
		return dataTime;
	}

	public void setDataTime(DateTime dataTime) {
		this.dataTime = dataTime;
	}

	public int getLrmID() {
		return lrmID;
	}

	public void setLrmID(int lrmID) {
		this.lrmID = lrmID;
	}

	public int getLabelID() {
		return labelID;
	}

	public void setLabelID(int labelID) {
		this.labelID = labelID;
	}

	public int getPowerAlarm() {
		return powerAlarm;
	}

	public void setPowerAlarm(int powerAlarm) {
		this.powerAlarm = powerAlarm;
	}

	public int getCallAlarm() {
		return callAlarm;
	}

	public void setCallAlarm(int callAlarm) {
		this.callAlarm = callAlarm;
	}
	
}
